package com.xueyi.aixihu.entity.generatedMapper;

import com.xueyi.aixihu.entity.po.DtCategory;
import com.xueyi.aixihu.entity.po.DtCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtCategoryMapper {
    long countByExample(DtCategoryExample example);

    int deleteByExample(DtCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtCategory record);

    int insertSelective(DtCategory record);

    List<DtCategory> selectByExample(DtCategoryExample example);

    DtCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtCategory record, @Param("example") DtCategoryExample example);

    int updateByExample(@Param("record") DtCategory record, @Param("example") DtCategoryExample example);

    int updateByPrimaryKeySelective(DtCategory record);

    int updateByPrimaryKey(DtCategory record);
}